// Copyright (C) Nazarii Balanda 2022. MIT License, see LICENSE file.

package goconsole

func SetCursorPos(x uint8, y uint8) string {
	return CSI + string(y) + ";" + string(x) + "H"
}

func SetCursorUp(n uint8) string {
	return CSI + string(n) + "A"
}

func SetCursorDown(n uint8) string {
	return CSI + string(n) + "B"
}

func SetCursorForward(n uint8) string {
	return CSI + string(n) + "C"
}

func SetCursorBack(n uint8) string {
	return CSI + string(n) + "D"
}
